#!/bin/bash
source /etc/profile
cd ../java/com/example/gpio_app
javac -encoding utf-8 -h . ./Gpio_Jni.java
rm -rf ./*.class
mv *.h ../../../../jni/
cd -
ndk-build